package com.system.common.mapper;

import java.util.List;
import java.util.Map;

import org.apache.ibatis.annotations.Param;

import com.system.common.pojo.BisBusinessOrder;
import com.system.common.pojo.BisBusinessOrderExample;

public interface BisBusinessOrderMapper {
    int countByExample(BisBusinessOrderExample example);

    int deleteByExample(BisBusinessOrderExample example);

    int deleteByPrimaryKey(String orderId);

    int insert(BisBusinessOrder record);

    int insertSelective(BisBusinessOrder record);

    List<BisBusinessOrder> selectByExample(BisBusinessOrderExample example);

    BisBusinessOrder selectByPrimaryKey(String orderId);

    int updateByExampleSelective(@Param("record") BisBusinessOrder record, @Param("example") BisBusinessOrderExample example);

    int updateByExample(@Param("record") BisBusinessOrder record, @Param("example") BisBusinessOrderExample example);

    int updateByPrimaryKeySelective(BisBusinessOrder record);

    int updateByPrimaryKey(BisBusinessOrder record);
    
    List<BisBusinessOrder> listAll(Map<String,Object> map);
    
    List<BisBusinessOrder> list(Map<String,Object> map);
    

    @SuppressWarnings("rawtypes")
	List<Map<String,Object>> selectAll(Map map);
    
    public List<Map<String, Object>> queryByOrder(String shopid);
    
    int getcashIncome();
    
    int getextendIncome();
    
    List<Map<String, Object>> queryByUserId(String userId);
    
    public List<Map<String, Object>> listAll1(String customuserid);
}